luci-base: fix off-by-one in cbi_update_table()
authorJo-Philipp Wich <[email protected]>
Thu, 15 Jul 2021 06:13:31 +0000 (08:13 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 12 Oct 2021 21:01:45 +0000 (23:01 +0200)
commit5806ff053151a2052b9eef86856e48f9ac033e7d
tree6f3db807531ce1f7229b702104c457ebb92d6395
parentd7be4983cf8f3d03fbf335e5e135392726b93a24
luci-base: fix off-by-one in cbi_update_table()

Fixes: #5189
Fixes: f919635310 ("luci-base: batch DOM updates to prevent slowdown")
Ref: https://github.com/openwrt/luci/commit/f919635310286b3b905aedb716d707da1ea2c811#commitcomment-53495580
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit 7d9ab8d4a741cbc97e9553982e9e352b21ddf5f3)
modules/luci-base/htdocs/luci-static/resources/cbi.js